import Vue from "vue"
import Router from "vue-router"
import Home from "./pages/Home"

Vue.use(Router)

const router = new Router({
    routes: [
        {
            path: "/",
            name: "home",
            component: Home
        },
        {
            path: "/about",
            name: "about",
            component: () => import("@/pages/About")
        }
    ]
})

export default router
